package com.tiny.jpa.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Date;


/**
 * 个人详细信息
 * @author honglin.li
 * @date 2022/6/27
 */
@Data
@Embeddable
public class UserDetailInfoEntity implements Serializable {

    @ApiModelProperty("家庭住址")
    private String address;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("最高学历")
    private String education;

    @ApiModelProperty("工作年限")
    private Date experience;

    @ApiModelProperty("婚育情况")
    private boolean marriage;

}
